package org.szy.plugin.dev.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;

/**
 * 开发_字典实体
 *
 * @author wangbuhao
 * @since 2023-06-20 16:05:55
 **/
@Table(value = "dev_dict", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class DevDict extends BaseEntity {

    /** 父节点 */
    private Long pid;
    /** 字典父节点列表 */
    private String pids;
    /** 字典类型 */
    private String category;
    /** 名称 */
    private String label;
    /** 字典值 */
    private String value;
    /** 字典标识 */
    private String code;
    /** 级别 */
    private Integer level;
    /** 排序 */
    private Integer sort;
    /** 状态（1-启用，0-未启用） */
    private Integer status;
    /** 是否删除 */
    @Column(isLogicDelete = true)
    private String delFlag;

    public Long getPid() {
        return pid;
    }
    public void setPid(Long pid) {
        this.pid = pid;
    }
    public String getPids() {
        return pids;
    }
    public void setPids(String pids) {
        this.pids = pids;
    }
    public String getCategory() { return category; }
    public void setCategory(String category) { this.category = category; }
    public String getLabel() {
        return label;
    }
    public void setLabel(String label) {
        this.label = label;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public Integer getLevel() {
        return level;
    }
    public void setLevel(Integer level) {
        this.level = level;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getDelFlag() {
        return delFlag;
    }
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }


}
